

package com.hexinfo.dmpro.script.pack.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hexinfo.dmpro.script.pack.entity.ScriptPackTaskEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 脚本打包任务表
 *
 * @author WZH
 * @date 2023-09-13 16:13:23
 */
@Mapper
public interface ScriptPackTaskMapper extends BaseMapper<ScriptPackTaskEntity> {

    /**
     * @Method modifyScanSuccessNum
     * @Param
     * @param taskId
     * @Return void
     * @Description 更新扫描成功数量
     * @Author Wang zhihao
     * @Date 2024/1/31 11:00
     * @Version V1.0
     */
    void modifyScanSuccessNum(String taskId);

    /**
     * @Method modifyScanSuccessNum
     * @Param
     * @param taskId
     * @Return void
     * @Description 更新扫描告警数量
     * @Author Wang zhihao
     * @Date 2024/1/31 11:00
     * @Version V1.0
     */
    void modifyScanWarnNum(String taskId);

    /**
     * @Method modifyScanSuccessNum
     * @Param
     * @param taskId
     * @Return void
     * @Description 更新扫描异常数量
     * @Author Wang zhihao
     * @Date 2024/1/31 11:00
     * @Version V1.0
     */
    void modifyScanErrorNum(String taskId);

    /**
     * @Method modifyScanFailNum
     * @Param
     * @param taskId
     * @Return void
     * @Description 更新扫描失败数量
     * @Author Wang zhihao
     * @Date 2024/1/31 11:00
     * @Version V1.0
     */
    void modifyScanFailNum(String taskId);

    /**
     * @Method modifyScanStatus
     * @Param
     * @param taskId
     * @Return void
     * @Description 更新扫描状态
     * @Author Wang zhihao
     * @Date 2024/1/31 11:05
     * @Version V1.0
     */
    void modifyScanStatus(String taskId);
}
